#ifndef RPC_RPC_PROCESSOR_H_
#define RPC_RPC_PROCESSOR_H_

#include "base/base.h"

namespace rpc {
class Buffer;
class Connection;

class Processor {
  public:

    virtual ~Processor() {
    }

    virtual void HandleRead(Connection* conn, Buffer* buf) = 0;

  protected:
    explicit Processor() {
    }

  private:
    DISALLOW_COPY_AND_ASSIGN(Processor);
};
}

#endif
